package com.zzyl.nursing.service;

import java.util.List;
import com.zzyl.nursing.domain.FamilyMemberElder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 家属和老人关联Service接口
 * 
 * @author zhangyan
 * @date 2025-06-06
 */
public interface IFamilyMemberElderService extends IService<FamilyMemberElder>
{
    /**
     * 查询家属和老人关联
     * 
     * @param id 家属和老人关联主键
     * @return 家属和老人关联
     */
    public FamilyMemberElder selectFamilyMemberElderById(Long id);

    /**
     * 查询家属和老人关联列表
     * 
     * @param familyMemberElder 家属和老人关联
     * @return 家属和老人关联集合
     */
    public List<FamilyMemberElder> selectFamilyMemberElderList(FamilyMemberElder familyMemberElder);

    /**
     * 新增家属和老人关联
     * 
     * @param familyMemberElder 家属和老人关联
     * @return 结果
     */
    public int insertFamilyMemberElder(FamilyMemberElder familyMemberElder);

    /**
     * 修改家属和老人关联
     * 
     * @param familyMemberElder 家属和老人关联
     * @return 结果
     */
    public int updateFamilyMemberElder(FamilyMemberElder familyMemberElder);

    /**
     * 批量删除家属和老人关联
     * 
     * @param ids 需要删除的家属和老人关联主键集合
     * @return 结果
     */
    public int deleteFamilyMemberElderByIds(Long[] ids);

    /**
     * 删除家属和老人关联信息
     * 
     * @param id 家属和老人关联主键
     * @return 结果
     */
    public int deleteFamilyMemberElderById(Long id);
}
